package com.favccxx.ticketrule.infrastructure.constants;

import lombok.Getter;

@Getter
public enum TicketDiscount {
    FREE("FREE", 0D, "FREE"),
    NONE("NONE", 1D, "NONE"),
    HALF("HALF", 0.5D, "HALF"),
    DISCOUNT8("DISCOUNT", 0.8D, "DISCOUNT8");

    private String name;

    private Double discount;

    private String value;

    TicketDiscount(String name, Double discount, String value) {
        this.name = name;
        this.discount = discount;
        this.value = value;
    }
    }
